how to open a file in c programming